﻿@model zichan.Models.CabinetDrowpListModel
@*<div class="form-group" id="cabinetDrowpList">*@
    <label class="col-md-3 control-label xh">机柜:</label>
    <div class="col-md-9">
        @Html.DropDownList("CabinetId", (SelectList)ViewBag.cabinetIds, "请选择机柜", new { @class = "form-control input-large" })
        <span class="help-block">
            @Html.ValidationMessageFor(o => o.CabinetId)
        </span>
    </div>
@*</div>*@
<script>
    $(function () { 
    $("#CabinetId").on("change", function () {
        var id = $(this).val();
        $("#u_NO").load("/Common/part_PutAway?cabinetId=" + id);
    });
    })
</script>